import request from "@/utils/request";

// 添加汇率
export function add(data) {
  return request({
    url: "/system/exchange",
    method: "post",
    data: data
  });
}
// 修改汇率
export function update(data) {
  return request({
    url: "/system/exchange",
    method: "put",
    data: data
  });
}
// 获取汇率列表
export function getList(data) {
  return request({
    url: "/system/exchange/list",
    method: "get",
    params: data
  });
}